﻿using System;
using System.Runtime.Serialization;

namespace NBuild.Fx.Engine
{
    public sealed class ProcessingException : Exception
    {
        public ProcessingException()
        {
        }

        public ProcessingException(string message) :
            base(message)
        {
        }

        public ProcessingException(string message, params object[] args) :
            base(string.Format(message, args))
        {
        }

        public ProcessingException(string message, Exception innerException) :
            base(message, innerException)
        {
        }

        private ProcessingException(SerializationInfo info, StreamingContext context) :
            base(info, context)
        {
        }
    }
}
